package cn.com.yx.ms.persistence;

import cn.com.yx.ms.application.web.ApiQueryBase;
import cn.com.yx.ms.domain.dbmodel.GgMain;
import cn.com.yx.ms.domain.dbmodel.JmProgram;
import cn.com.yx.ms.domain.program.ProgramModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JmProgramMapper {
    int deleteByPrimaryKey(String guid);

    int insert(JmProgram record);

    int insertSelective(JmProgram record);

    JmProgram selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(JmProgram record);

    int updateByPrimaryKey(JmProgram record);

    List<ProgramModel> find(ApiQueryBase query);

    List<JmProgram> findAll();

    List<JmProgram> findByDevsn(@Param("devsn") String devsn);
}